package org.mspring.mlog.entity;

import org.mspring.nbee.orm.annotation.Col;
import org.mspring.nbee.orm.annotation.Mappable;
import org.mspring.nbee.orm.entity.BaseEntity;

/**
 * @author Gao Youbo
 * @since 2014-12-31 17:52:14
 */
@Mappable
public class UserRole extends BaseEntity {

    @Col(nullable = false, length = 19)
    private long roleId;
    @Col(nullable = false, length = 19)
    private long userId;

    public long getRoleId() {
        return this.roleId;
    }

    public void setRoleId(long roleId) {
        this.roleId = roleId;
    }

    public long getUserId() {
        return this.userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

}
